home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / CON-03A.ZIP / ANSI.PAS < prev    next >
Pascal/Delphi Source File  |  1995-10-25  |  5KB  |  135 lines

  1. unit ansi;
  2.  
  3. interface
  4.  
  5. uses crt,
  6.      dos;
  7.  
  8. procedure write_picture(pic : string);
  9.  
  10. implementation
  11.  
  12.  
  13. const
  14.   CONFIGA_WIDTH=80;
  15.   CONFIGA_DEPTH=25;
  16.   CONFIGA_LENGTH=755;
  17.   CONFIGA : array [1..755] of Char = (
  18.      #8,#16,'▓',#26, #3,'█','▀',' ',' ',#13,'■','▀','▀','█','█','█',' ',
  19.     ' ', #5,#26, #3,'▄',' ',' ', #1,'▄','▄','■','▀','█',#25, #2, #9,'▄',
  20.     '■','▀',' ',#10,'▄','▄','■','▀','█','█',' ', #2,'▄','■',' ', #6,'▄',
  21.     '■','▀','▓','█','▄',' ',#14,'■','▀','▀','▀','▄',#25, #2, #7,'■','▀',
  22.     '▀','█','█','█',' ',#15,'█','█',#25, #2,'█',' ', #8,'▓',#26, #4,'█',
  23.     '▓',#24,#26, #3,'█','▓',' ',#13,'█',#25, #3,'▄','▄','▄',' ', #5,'■',
  24.     ' ',' ','█','▓','█',' ', #1,'█','█',' ',' ','█',#25, #2, #9,'▀','▀',
  25.     '█',' ',#10,'█','█',' ','▀','▀',' ',' ', #2,'█','█',' ', #6,'█','█',
  26.     #25, #3,#14,'▄','▓','▀','▀','█','█',' ', #7,'█',#25, #3,'▄','▄','▄',
  27.     ' ',' ',#15,'▀','▀','▀','■','█',' ', #8,#26, #6,'█',#24,#26, #4,'█',
  28.     '▄',' ',#13,#26, #5,'▀',' ',' ', #5,#26, #4,'▀',#25, #5, #1,'█',' ',
  29.      #9,#26, #3,'█','▓',' ',#10,'▀','▀',#25, #4, #2,'▀','▀',' ', #6,'▀',
  30.     '▀',#25, #4,#14,#26, #4,'▀',' ',' ', #7,#26, #5,'▀',#25, #4,#15,'▄',
  31.     '▄','▓',' ', #8,#26, #6,'█',#24,#26, #6,'█',#26, #5,'▄','█','█',#26,
  32.      #4,'▄',#26, #4,'█','▄',#25, #7,'▄','▄',#26, #4,'█','▄','▄','▓','▄',
  33.     '▄',#26, #4,'█',#26, #4,'▄','▓',#26, #7,'▄','█','█','█','▄',#25, #2,
  34.     '▄',#26, #6,'█',#24,#26,'O','█',#24,#26,'O','█',#24,#26, #5,'█','▓',
  35.     '█','█','▓',#26,' ','▀','▓',#26,'#','█',#24,#26, #5,'█',' ',#15,'┌',
  36.     '─',#13,'─', #5,'┤', #9,#17,'▌','C','o','n','s','p','i','r','a','c',
  37.     'y',' ','M','a','i','n',' ','C','o','n','f','i','g','u','r','a','t',
  38.     'i','o','n','▐', #5,#16,'├',#26,#28,'─','┐',' ', #8,'▓',#26, #4,'█',
  39.     #24,#26, #5,'█',' ',#13,'│',' ', #7,'B','u','l','l','e','t','i','n',
  40.     ' ','B','o','a','r','d',' ','N','a','m','e',' ', #5,'│',#25,')','│',
  41.     ' ', #8,#26, #5,'█',#24,#26, #5,'█',' ', #5,'│',' ', #7,'S','y','s',
  42.     't','e','m',' ','O','p','e','r','a','t','o','r',#25, #4, #5,'│',#25,
  43.     ')','│',' ', #8,#26, #5,'█',#24,#26, #5,'█',' ', #5,'│',' ', #7,'B',
  44.     'B','S',' ','P','h','o','n','e',' ','N','u','m','b','e','r',#25, #3,
  45.      #5,'│',#25,')','│',' ', #8,#26, #5,'█',#24,#26, #5,'█',' ', #5,'│',
  46.     ' ', #7,'R','e','g','i','s','t','r','a','t','i','o','n',' ','C','o',
  47.     'd','e',#25, #2, #5,'│',#25,')','│',' ', #8,#26, #5,'█',#24,#26, #5,
  48.     '█',' ', #5,'│',' ', #7,'M','a','i','n',' ','D','i','r','e','c','t',
  49.     'o','r','y',#25, #5, #5,'│',#25,')','│',' ', #8,#26, #5,'█',#24,#26,
  50.      #5,'█',' ', #5,'│',' ', #7,'D','a','t','a',' ','D','i','r','e','c',
  51.     't','o','r','y',#25, #5, #5,'│',#25,')','│',' ', #8,#26, #5,'█',#24,
  52.     #26, #5,'█',' ', #5,'│',' ', #7,'T','e','x','t',' ','F','i','l','e',
  53.     ' ','D','i','r','e','c','t','o','r','y',' ', #5,'│',#25,')',#13,'│',
  54.     ' ', #8,#26, #5,'█',#24,#26, #5,'█',' ', #5,'└',#26,#20,'─','┴',#26,
  55.     '&','─',#13,'─','─',#15,'─','┘',' ', #8,'▓',#26, #4,'█',#24,#26,'H',
  56.     '█','▓','▓',#26, #4,'█',#24,#26,'O','█',#24,#26,'O','█',#24,#26,'O',
  57.     '█',#24,#26,'O','█',#24,#26,'O','█',#24,#26,'O','█',#24,#26,'O','█',
  58.     #24,#23,#25, #5, #0,'c','o','n','s','p','i','r','a','c','y',' ','b',
  59.     'u','l','l','e','t','i','n',' ','b','o','a','r','d',' ','s','o','f',
  60.     't','w','a','r','e',' ','v','0','.','2','α',' ','╓',' ','(','c',')',
  61.     ' ','1','9','9','5',' ','g','r','o','o','v','e','n',' ','d','e','s',
  62.     'i','g','n','s',#25, #6,#24);
  63.  
  64. type screentype = array [0..755] of byte;
  65.  
  66. var
  67.   ScreenAddr : ScreenType absolute $B800:$0000;
  68.  
  69. procedure UNCRUNCH (var Addr1,Addr2; BlkLen:Integer);
  70. begin
  71.   inline (
  72.     $1E/
  73.     $C5/$B6/ADDR1/
  74.     $C4/$BE/ADDR2/
  75.     $8B/$8E/BLKLEN/
  76.     $E3/$5B/
  77.     $8B/$D7/
  78.     $33/$C0/
  79.     $FC/
  80.     $AC/
  81.     $3C/$20/
  82.     $72/$05/
  83.     $AB/
  84.     $E2/$F8/
  85.     $EB/$4C/
  86.     $3C/$10/
  87.     $73/$07/
  88.     $80/$E4/$F0/
  89.     $0A/$E0/
  90.     $EB/$F1/
  91.     $3C/$18/
  92.     $74/$13/
  93.     $73/$19/
  94.     $2C/$10/
  95.     $02/$C0/
  96.     $02/$C0/
  97.     $02/$C0/
  98.     $02/$C0/
  99.     $80/$E4/$8F/
  100.     $0A/$E0/
  101.     $EB/$DA/
  102.     $81/$C2/$A0/$00/
  103.     $8B/$FA/
  104.     $EB/$D2/
  105.     $3C/$1B/
  106.     $72/$07/
  107.     $75/$CC/
  108.     $80/$F4/$80/
  109.     $EB/$C7/
  110.     $3C/$19/
  111.     $8B/$D9/
  112.     $AC/
  113.     $8A/$C8/
  114.     $B0/$20/
  115.     $74/$02/
  116.     $AC/
  117.     $4B/
  118.     $32/$ED/
  119.     $41/
  120.     $F3/$AB/
  121.     $8B/$CB/
  122.     $49/
  123.     $E0/$AA/
  124.     $1F);
  125. end;
  126.  
  127. procedure write_picture(pic : string);
  128. begin
  129.   if pic= 'configa' then UnCrunch (configa,ScreenAddr[ (1 * 2) + (1 * 160) -162],configa_LENGTH);
  130. end;
  131.  
  132. begin
  133. end.
  134.  
  135.